home *** CD-ROM | disk | FTP | other *** search
/ IRIX Installation Tools & Overlays 2002 November / SGI IRIX Installation Tools & Overlays 2002 November - Disc 4.iso / dist / motif21_dev.idb / usr / Motif-2.1 / include / Xm / DrawnBP.h.z / DrawnBP.h
C/C++ Source or Header  |  2002-10-15  |  2KB  |  100 lines

  1. /* 
  2.  *  @OSF_COPYRIGHT@
  3.  *  COPYRIGHT NOTICE
  4.  *  Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.
  5.  *  ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for
  6.  *  the full copyright text.
  7. */ 
  8. /* 
  9.  * HISTORY
  10. */ 
  11. /*   $XConsortium: DrawnBP.h /main/13 1995/07/14 10:29:40 drk $ */
  12. /*
  13. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  14. #ifndef _XmDButtonP_h
  15. #define _XmDButtonP_h
  16.  
  17. #include <Xm/DrawnB.h>
  18. #include <Xm/LabelP.h>
  19.  
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23.  
  24. /* DrawnButton class structure */
  25.  
  26. typedef struct _XmDrawnButtonClassPart
  27. {
  28.    XtPointer extension;   /* Pointer to extension record */
  29.  
  30. #ifdef _SGIMOTIF
  31.     XtPointer _SG_vendorExtension;
  32. #endif    
  33. } XmDrawnButtonClassPart;
  34.  
  35.  
  36. /* Full class record declaration for DrawnButton class */
  37.  
  38. typedef struct _XmDrawnButtonClassRec {
  39.     CoreClassPart      core_class;
  40.     XmPrimitiveClassPart  primitive_class;
  41.     XmLabelClassPart      label_class;
  42.     XmDrawnButtonClassPart drawnbutton_class;
  43. } XmDrawnButtonClassRec;
  44.  
  45.  
  46. externalref  XmDrawnButtonClassRec xmDrawnButtonClassRec;
  47.  
  48.  
  49. /* DrawnButton instance record */
  50.  
  51. typedef struct _XmDrawnButtonPart
  52. {
  53.    Boolean         pushbutton_enabled;
  54.    unsigned char    shadow_type;
  55.    XtCallbackList   activate_callback;
  56.    XtCallbackList   arm_callback;
  57.    XtCallbackList   disarm_callback;
  58.    XtCallbackList   expose_callback;
  59.    XtCallbackList   resize_callback;
  60.  
  61.    Boolean         armed;
  62.    Dimension        old_width;
  63.    Dimension        old_height;
  64.    Dimension        old_shadow_thickness;
  65.    Dimension        old_highlight_thickness;
  66.    XtIntervalId     timer;
  67.    unsigned char    multiClick;         /* KEEP/DISCARD resource */
  68.    int              click_count;
  69.    Time            armTimeStamp;
  70.  
  71. #ifdef _SGIMOTIF
  72.     XtPointer _SG_vendorExtension;
  73. #endif    
  74.  
  75. } XmDrawnButtonPart;
  76.  
  77.  
  78. /* Full instance record declaration */
  79.  
  80. typedef struct _XmDrawnButtonRec {
  81.     CorePart         core;
  82.     XmPrimitivePart  primitive;
  83.     XmLabelPart      label;
  84.     XmDrawnButtonPart drawnbutton;
  85. } XmDrawnButtonRec;
  86.  
  87.  
  88. /********    Private Function Declarations    ********/
  89.  
  90.  
  91. /********    End Private Function Declarations    ********/
  92.  
  93.  
  94. #ifdef __cplusplus
  95. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  96. #endif
  97.  
  98. #endif /* _XmDButtonP_h */
  99. /* DON'T ADD ANYTHING AFTER THIS #endif */
  100.